package cn.zswltech.gruul.common.entity;


import cn.zswltech.gruul.common.dal.tkmybatis.IEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "bifrost_role_menu_function")
@Data
@Accessors(chain = true)
public class RoleMenuFunctionDO extends IEntity {
    /**
     * Ora主键
     */
    @Id
    private Long id;

    /**
     * 创建时间
     */
    @Column(name = "gmt_create")
    private Date gmtCreate;

    /**
     * 最后修改时间
     */
    @Column(name = "gmt_modified")
    private Date gmtModified;

    /**
     * 角色
     */
    @Column(name = "role_code")
    private String roleCode;

    /**
     * 可用菜单m1
     */
    @Column(name = "menu_code")
    private String menuCode;

    /**
     * 创建用户账号
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 修改用户账号
     */
    @Column(name = "update_by")
    private String updateBy;

    @Column(name = "custom_tree_id")
    private Long customTreeId;

    /**
     * 可用功能[id1,id2,id3]
     */
    @Column(name = "function_code")
    private String functionCode;


}